#ifndef TCPSERVER_H
#define TCPSERVER_H

#include "TCP.h"

class TCPserver: public tcp
{
private:
    int newsockfd,clilen;
    struct sockaddr_in cli_addr;
public:
    TCPserver();
    void socket(char *argv[]);
    void checkConnection(int argc);
    void conectar();
    void enviar(string buffer);
    void recibir();

};

#endif // TCPSERVER_H
